package ModelLayer;


public class Guest 
{
    private String username;
    private String password;
    private String fName;
	private String lName;
	private String phone;
	private String email;
	private String address;
	private String travelAgency;
	private String country;
	private int guestId;
	//private bill(Bill);
	
	
    /**
     * Constructor for objects of class Guest
     */
    public Guest(String fName, String lName, String phone, String email, String address, String travelAgency, String country, int guestId, String username, String password) {
        // Initialize instance variables
        this.fName = fName;
        this.lName = lName;
        this.phone = phone;
        this.email = email;
        this.address = address;
        this.travelAgency = travelAgency;
        this.country = country;
        this.guestId = guestId;
        this.username = username;
        this.password = password;
        //bill = null;
    }

    public Guest() {
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }


    /**
     * Accessory method to get name of a fName
     */
	public String getFname() {
		return fName;
	}
    /**
     * mutator method to set a fName
     */
	public void setFname(String newFname) {
		fName = newFname;
	}
	
	
    /**
     * Accessory method to get name of a lName
     */
	public String getLname() {
		return lName;
	}
    /**
     * mutator method to set a lName
     */
	public void setLname(String newLname) {
		lName = newLname;
	}
	
	
    /**
     * get method for phone 
     */
	public String getPhone() {
		return phone;
	}
    /**
     * mutator method to set a phone
     */
	public void setPhone(String newPhone) {
		phone = newPhone;
	}
	
	
    /**
     * get method for email 
     */
	public String getEmail() {
		return email;
	}
    /**
     * mutator method to set a email
     */
	public void setEmail(String newEmail) {
		email = newEmail;
	}
	
	
	 /**
     * get method for address 
     */
    public String getAddress() {
        return address;
    }
    /**
     * mutator method to set a address
     */
    public void setAddress(String newAddress) {
    	address = newAddress;
    }
	
    /**
     * get method for travelAgency 
     */
	public String getTravelAgency() {
		return travelAgency;
	}
    /**
     * mutator method to set a travelAgency
     */
	public void setTravelAgency(String newTravelAgency) {
		travelAgency = newTravelAgency;
	}
	
	
    /**
     * get method for country 
     */
	public String getCountry() {
		return country;
	}
    /**
     * mutator method to set a country
     */
	public void setCountry(String newCountry) {
		country = newCountry;
	}

	
    /**
     * get method for guestId 
     */
	public int getGuestId() {
		return guestId;
	}
    /**
     * mutator method to set a guestId
     */
	public void setId(int newGuestId) {
		guestId = newGuestId;
	}
	
	
    /**
     * mutator method to set all fields
     */
    public void updateGuest(String newFname, String newLname, String newPhone, String newEmail, String newAddress, String newTravelAgency, String newCountry, int newGuestId) {
		fName = newFname;
		lName = newLname;
		phone = newPhone;
		email = newEmail;
		address = newAddress;
		travelAgency = newTravelAgency;
		country = newCountry;
		guestId = newGuestId;
    }
    
}
